import 'package:flutter/material.dart';
import 'package:get/get.dart';

class SecondPage extends StatefulWidget {
  const SecondPage({super.key});

  @override
  State<SecondPage> createState() => _SecondPageState();
}

class _SecondPageState extends State<SecondPage> {
    @override
    Widget build(BuildContext context) {
        return Container(
            color: Colors.white,
            child: TextButton(
                onPressed: (){
                    Get.toNamed('/test');
                }, 
                child: const Text("下一页")
            ),
        );
    }
}